#!/usr/bin/env bash

which git || exit 1

#Geth
which go || exit 1

go get github.com/ethereum/go-ethereum || exit 1
cd  $GOPATH/src/github.com/ethereum/go-ethereum || exit 1
go install ./... || exit 1
cp $GOPATH/bin/geth /tmp/meth/ || exit 1
